package com.pine.dbant.core.service;

import com.pine.dbant.common.plugin.ExecuteParams;
import com.pine.dbant.common.plugin.ExecuteRecord;
import com.pine.dbant.common.plugin.QueryExecuteRecord;

import java.util.List;

/**
 * @author xiaoyuan
 * @create 2022/11/30
 **/
public interface SqlDatabaseService {


//    Table getTableMeta(Long connId, String catalog, String schema, String tableName);


    QueryExecuteRecord queryDataOneTable(Long connId,String catalog,String schema,String tableName);


    List<ExecuteRecord> executeScript(Long connId,String catalog,String schema,ExecuteParams executeParams);

}
